//
// Created by Administrator on 24-8-10.
//
#include "start.h"
#include "main.h"
//#include "usart.h"
#include "../Led/LED.h"
#include <string>
using namespace std;
#define LEDDEMO
void startup()
{
    string str = "hello world!";

    LED led(LED0_GPIO_Port,LED0_Pin);
    led.LED_ON();

    HAL_Delay(5000);

    LED led1(LED1_GPIO_Port,LED1_Pin);
    led1.LED_OFF();

    HAL_Delay(2000);
    while(1)
    {
#ifdef LEDDEMO

        led.LED_Dance(500);

#endif
        //HAL_UART_Transmit(&huart1,(uint8_t *)str.data(),str.size(),0xff);
    }
}

